package com.ajx.blog.mapper;

import com.ajx.blog.entity.CoursePerson;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface CoursePersonMapper extends BaseMapper<CoursePerson> {

    int addCoursePerson(@Param("userid") Integer userid,@Param("cid") Integer cid);

    int selectByCid(@Param("userid") Integer userid,@Param("cid") Integer cid);
}
